package org.example.java_chatroom.api;

/**
 * @Author @fiber-cloud
 * @Date 2025/11/7 9:50
 * 这个类表示一个消息请求
 *
 */
public class MessageRequest {
    private String type = "message";
    private int sessionId;
    private String content;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getSessionId() {
        return sessionId;
    }

    public void setSessionId(int sessionId) {
        this.sessionId = sessionId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
